package com.vmove.childtrain.common;

import java.util.ArrayList;
import java.util.List;

/**
 * @Description: 常量类
 */
public class Constants {
    public static final long CACHE_TIMES = 1000*60*60*24;//缓存时间24小时
    public static final long CACHE_TIMES_LONG = 1000*60*60*24*7;//缓存时间24*7小时
    //请求结果
    public static final int RESPONSE_OK=100;
    public static final int RESPONSE_FAILED=300;
    //请求接口
    public static final String BASE_URL="http://182.92.106.31/tj.php";
    public static final String URL_USERS=BASE_URL+"users.json";//cache key
    public static final String URL_UPDATE = "http://sxbrs.com/app/ecgformec_update.json";

    public static  short PADID=100;

    /**sharepreference's key*/
    public static final String SP_ISCHECKUPDATE = "isCheckUpdate";
    //是否是首次启动
    public static final String SP_ISFIRSTSTART="login_first";

    public static int COMMAND_INTERVAL=50;//2.4g下发命令间隔 ms
    /**记录查询到的返回状态的灯，即有电的灯*/
    public static final List<Integer> onStatusLights = new ArrayList<>();

    //页面 默认的属性参数值
    public static final int LIGHT_BRIGHTNESS = 5;
    public static final int INFRARED_SENSITIVITY = 3;
    public static final int PAT_SENSITIVITY = 5;
}
